package com.microservice.base.mapper.hikcommon;

import com.microservice.base.entity.Org;
import com.microservice.base.entity.Person;
import com.microservice.base.mapper.BaseMP;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author jbx
 * @package_name com.microservice.base.mapper
 * @create_date 2020/12/7 8:54
 */
public interface PersonMP extends BaseMP<Person> {
    @Override
    void saveBatch(List<Person> list);

    @Override
    void delete(String id);

    @Override
    void save(Person person);

    @Override
    int update(Person person);

    @Override
    Person get(String id);

    @Override
    List<Person> queryAll();

    List<Person> queryUpdate(int operation);

    List<Person> queryDelete(int operation);

    int updateOperation(@Param("operation") int operation, @Param("id")String id);

    Map<Object, Object> queryAllCount();

    void replaceUpdate(List<Person> insertList);

}
